package com.hl.sfzy.service;

import com.hl.sfzy.entity.Consultants;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface ConsultantsService {
    int deleteById(Long id);

    int insert(Consultants record);

    int insertSelective(Consultants record);

    Consultants selectById(Long id);

    int updateByIdSelective(Consultants record);

    int updateById(Consultants record);

    List<Consultants> selectAll();

    List<Consultants> selectBySelective(Consultants record);
    //根据咨询师等级查询
    List<Consultants> findByLevel(String level);
}
